package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.LocationClass;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface LocationClassMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LocationClass record);

    LocationClass selectByPrimaryKey(Long id);

    List<LocationClass> selectAll();

    int updateByPrimaryKey(LocationClass record);

    int query4Count(QueryObject qo);

    List<LocationClass> query4List(QueryObject qo);

    void changState(Long id);
}